package com.wutuo.wtservice.provider.dao;

import com.wutuo.wtservice.api.request.ListWtTypeRequest;
import com.wutuo.wtservice.api.request.WtTypeRequest;
import com.wutuo.wtservice.api.response.WtTypeResponse;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;


/**
 * 标签关系表 Dao 层
 *
 * @author lvh
 * @version 1.0
 */
public interface WtTypeMapper extends BaseWtTypeMapper {
    @SelectProvider(type = WtTypeSqlProvider.class, method = "lisForPage")
    @ResultType(value = WtTypeResponse.class) List<WtTypeResponse> lisForPage(
        ListWtTypeRequest request);

    @SelectProvider(type = WtTypeSqlProvider.class, method = "list")
    @ResultType(value = WtTypeResponse.class) List<WtTypeResponse> list(WtTypeRequest request);
}